﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TSOL.Helpers
{
    public class UriHelper
    {
        public static bool TryCreateUri(string Url, out Uri uri) {

            try
            {
                uri = new Uri(Url);
                return true;
            }
            catch
            {
                uri = null;
                return false;
            }
        }
    }
}